package com.noah.bee.admin.mapper;

import com.noah.bee.admin.domain.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author wuzhen
 * @since 16/12/19 15:32
 */

public interface UserMapper {
    @Select(value = "select * from t_user where user_name = #{userName} and password = #{password}")
    User getUserByUserNameAndPassword(@Param("userName") String userName, @Param("password") String password);
}
